<?php
class ConjDictHelper
{
	public static function getSynonymous($term,$type)
	{
		$criteria = new CDbCriteria;
	
		$criteria->select = "avalue";
	
		$criteria->condition = 'akey=?';
	
		$criteria->params = array(addslashes($term));
	
		$ret = Conjs::model()->find($criteria);
	
		return $ret['avalue'];
	}
}